module Admin::OrdersHelper

  def show_status(status)
    if status == 'pending'
      'Pendiente'
    else
      'CONFIRMADO'
    end
  end

  def show_order_id(id)
    "000100#{id}"
  end

  def show_color(color)
    #"#{color.color_code} - #{color.color_name}"
    unless color.blank?
      color.color_name
    else
      'Unico'
    end
  end
end
